<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:66:"G:\wamp64\www\tch\public/../application/admin\view\room\index.html";i:1556622356;s:50:"G:\wamp64\www\tch\application\admin\view\base.html";i:1555638107;s:61:"G:\wamp64\www\tch\application\admin\view\public\sidemenu.html";i:1555643122;}*/ ?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>后台管理-用户管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="Bluth Company">
    <link rel="shortcut icon" href="/tch/public/static/assets/ico/favicon.html">
    <link href="/tch/public/static/assets/css/bootstrap.css" rel="stylesheet">
    <link href="/tch/public/static/assets/css/theme.css" rel="stylesheet">
    <link href="/tch/public/static/assets/css/font-awesome.min.css" rel="stylesheet">
    <link href="/tch/public/static/assets/css/alertify.css" rel="stylesheet">
    <link rel="Favicon Icon" href="favicon.ico">
    <style type="text/css">
      .line-limit-length {
          /* 过量变小点点 */
      width:300px; 
      white-space:nowrap;
      /* 不能换行 */
      overflow:hidden;
      text-overflow:ellipsis; 
      /* 过量隐藏 */
    }
    </style>
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  </head>
  <body>
    <div id="wrap">
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <div class="logo">
            <img src="/tch/public/static/assets/img/logo.png" alt="Realm Admin Template">
          </div>
           <a class="btn btn-navbar visible-phone" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
           <a class="btn btn-navbar slide_menu_left visible-tablet">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>

          <div class="top-menu visible-desktop">
            <ul class="pull-left">
              <li><a id="messages" href="#"><i class="icon-envelope"></i> Messages</a></li>
              <li><a id="notifications" href="#"><i class="icon-globe"></i> Notifications</a></li>
            </ul>
            <ul class="pull-right">  
              <li><a href="<?php echo url('index/logout'); ?>"><i class="icon-off"></i> Logout</a></li>
            </ul>
          </div>

          <div class="top-menu visible-phone visible-tablet">
            <ul class="pull-right">  
              <li><a title="link to View all Messages page, no popover in phone view or tablet" href="#"><i class="icon-envelope"></i></a></li>
              <li><a title="link to View all Notifications page, no popover in phone view or tablet" href="#"><i class="icon-globe"></i></a></li>
              <li><a href="login.html"><i class="icon-off"></i></a></li>
            </ul>
          </div>

        </div>
      </div>
    </div>

    <div class="container-fluid">
      <!-- Side menu -->
      
        <div class="sidebar-nav nav-collapse collapse">
  <div class="user_side clearfix">
    <img src="/tch/public/static/assets/img/odinn.jpg" alt="Odinn god of Thunder">
  <h5><?php echo \think\Session::get('realname'); ?></h5>
    <a href="#"><i class="icon-cog"></i> Settings</a>        
  </div>
  <div class="accordion" id="accordion2">

    <!-- <?php if(\think\Session::get('rid')==1 or \think\Session::get('rid')==3): ?>
    <div class="accordion-group">
      <div class="accordion-heading">
        <a class="accordion-toggle b_F79999" href="<?php echo url('net/index'); ?>"><i class="icon-dashboard"></i> <span>网络报修</span></a>
      </div>
    </div>
    <?php endif; if(\think\Session::get('rid')==2 or \think\Session::get('rid')==3): ?>
    <div class="accordion-group">
      <div class="accordion-heading">
        <a class="accordion-toggle b_F6F1A2" href="<?php echo url('room/index'); ?>"><i class="icon-tasks"></i> <span>物业保修</span></a>
      </div>
    </div>
    <?php endif; ?> -->

    <?php if(\think\Session::get('rid')==3): ?>
    <div class="accordion-group">
      <div class="accordion-heading">
        <a class="accordion-toggle b_C1F8A9" href="<?php echo url('suggest/index'); ?>"><i class="icon-bar-chart"></i> <span>投诉建议</span></a>
      </div>
    </div>
    <?php endif; if(\think\Session::get('rid')==4): ?>
    <div class="accordion-group">
      <div class="accordion-heading">
        <a class="accordion-toggle b_9FDDF6" href="<?php echo url('role/index'); ?>"><i class="icon-bullhorn"></i> <span>角色管理</span></a>
      </div>
    </div>

    <div class="accordion-group">
      <div class="accordion-heading">
        <a class="accordion-toggle b_F5C294 active" href="<?php echo url('user/userlist'); ?>"><i class="icon-user"></i> <span>用户管理</span></a>
      </div>
    </div>
    <?php endif; ?>
    
  </div>
</div>
      

      <!-- Main window -->
      <div class="main_container" id="users_page">

        <div class="row-fluid">
          <ul class="breadcrumb">
            <li><a href="#">Home</a> <span class="divider">/</span></li>
            <li><a href="#">Pages</a> <span class="divider">/</span></li>
            <li class="active">Users</li>
          </ul>
          <h2 class="heading">
              userlist
              <div class="btn-group pull-right">
                <button class="btn"><i class="icon-download-alt"></i> Export</button>
                <button class="btn"><i class="icon-envelope"></i> Email</button>
                <button class="btn"><i class="icon-cog"></i> Settings</button>
              </div>
          </h2>
        </div> <!-- /row-fluid -->

        <div class="row-fluid">
          <div class="widget widget-padding span12">

            
<!-- <link rel="shortcut icon" href="index.php?img=favicon" type="image/ico" /> -->
<div class="widget-header">
  <i class="icon-group"></i>
  <h5>用户</h5>
  <div class="widget-buttons">
    <a href="#" data-title="Add Employee" data-toggle="modal" data-target="#example_modal"><i class="icon-plus"></i></a>
    <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
  </div>

</div>
<div class="widget-body">
  <table id="users" class="table table-striped table-bordered dataTable">
    <thead>
      <tr>
        <th>区域</th>
        <th>保修地点</th>
        <th>保修内容</th>
        <th>姓名</th>
        <th>电话</th>
        <th>预约维修时间</th>
        <th>报修时间</th>
        <th>状态</th>
        <th>操作</th>
      </tr>
    </thead>
    <tbody>
      <?php if(is_array($nets) || $nets instanceof \think\Collection || $nets instanceof \think\Paginator): $i = 0; $__LIST__ = $nets;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
      <tr>
          <td><?php echo $vo['area']; ?><?php echo $vo['building']; ?></td>
          <td><?php echo $vo['dortext']; ?></td>
          <td><div calsss="line-limit-length"><?php echo $vo['content']; ?></div></td>
          <td><?php echo $vo['name']; ?></td>
          <td><?php echo $vo['tele']; ?></td>
          <td><?php echo $vo['domtime']; ?></td>
          <td><?php echo $vo['addtime']; ?></td>
          <?php if($vo['status'] == 0): ?>
          <td>未完成</td><?php endif; if($vo['status'] == 1): ?>
          <td>完成</td><?php endif; ?>
          <td>
            <div class="btn-group">
              <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
              Action
                <span class="caret"></span>
              </a>
              <ul class="dropdown-menu pull-right">
                <!-- <li><a href="#"><i class="icon-wrench"></i> 重置密码</a></li> -->
                <li><a href="<?php echo url('info/mark',['id'=>$vo['id']]); ?>"><i class="icon-envelope"></i>标记完成</a></li>
                <li><a href="<?php echo url('info/forward',['id'=>$vo['id']]); ?>"><i class="icon-edit"></i> 转发</a></li>
                <li><a href="<?php echo url('info/del',['id'=>$vo['id']]); ?>"><i class="icon-trash"></i> 删除</a></li>
              </ul>
            </div>
          </td>
      </tr>
      <?php endforeach; endif; else: echo "" ;endif; ?>
    </tbody>
  </table>
</div> <!-- /widget-body -->


          </div> <!-- /widget -->
        </div> <!-- /row-fluid -->

      </div>
      <!-- /Main window -->

    </div><!--/.fluid-container-->
    </div><!-- wrap ends-->

    <script type="text/javascript" src="/tch/public/static/assets/js/jquery.min.js"></script>
    <script type="text/javascript" src="/tch/public/static/assets/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="/tch/public/static/assets/js/raphael-min.js"></script>
    <script type="text/javascript" src="/tch/public/static/assets/js/bootstrap.js"></script>
    <script type="text/javascript" src='/tch/public/static/assets/js/sparkline.js'></script>
    <script type="text/javascript" src='/tch/public/static/assets/js/morris.min.js'></script>
    <script type="text/javascript" src="/tch/public/static/assets/js/jquery.dataTables.min.js"></script>   
    <script type="text/javascript" src="/tch/public/static/assets/js/jquery.masonry.min.js"></script>   
    <script type="text/javascript" src="/tch/public/static/assets/js/jquery.imagesloaded.min.js"></script>   
    <script type="text/javascript" src="/tch/public/static/assets/js/jquery.facybox.js"></script>   
    <script type="text/javascript" src="/tch/public/static/assets/js/jquery.alertify.min.js"></script> 
    <script type="text/javascript" src="/tch/public/static/assets/js/jquery.knob.js"></script>
    <script type='text/javascript' src='/tch/public/static/assets/js/fullcalendar.min.js'></script>
    <script type='text/javascript' src='/tch/public/static/assets/js/jquery.gritter.min.js'></script>
    <script type="text/javascript" src="/tch/public/static/assets/js/realm.js"></script>
  </body>
</html>
